<template>
  <div>
    <base-select :paramsName="paramsName" :placeholder="placeholder" :options="options" @handleChange="handleChange" ref="baseipt"></base-select>
  </div>
</template>


<script>
import baseSelect from '@/components/select/baseSelect.vue'
export default {
  props:["paramsName",'placeholder'],
  components:{
     baseSelect
  },
  data(){
    return{
      options: [
        {
          value: "1",
          label: "正常"
        },
        {
          value: "2",
          label: "不正常"
        },
      ],
    }
  },
  methods:{
    handleChange(value,params){
      this.$emit('handleChange',value,params)
    },
    rest(){
      this.$refs.baseipt.rest()
    }
  }
}
</script>